import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

typedef TDButtonEvent = void Function();

class CategoryTitle extends StatelessWidget {

  final text;

  const CategoryTitle({super.key, this.text,});

  @override
  Widget build(BuildContext context) {
    return Text(
      text,
      textAlign: TextAlign.left,
      style: TextStyle(
          color: Colors.black,
          fontSize: 24,
          height:2
      ),
    );
  }
}
